package com.leinao.job.dto;

import java.io.Serializable;

public class ProjectJobStatisticsDto implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = -8981776266165366469L;

    /**
     * WAITING: 正在等待的任务
     */
    private Integer waitingNum = 0;

    /**
     * RUNNING: 正在运行的任务
     */
    private Integer runningNum = 0;

    /**
     * STOPPED: 暂定的任务
     */
    private Integer stoppedNum = 0;

    /**
     * STOPPING: 暂定中的任务
     */
    private Integer stoppingNum = 0;

    /**
     * FAILED: 失败的任务
     */
    private Integer failedNum = 0;

    /**
     * SUCCEEDED: 已结束的任务
     */
    private Integer succeededNum = 0;

    public Integer getWaitingNum() {
        return waitingNum;
    }

    public void setWaitingNum(Integer waitingNum) {
        this.waitingNum = waitingNum;
    }

    public Integer getRunningNum() {
        return runningNum;
    }

    public void setRunningNum(Integer runningNum) {
        this.runningNum = runningNum;
    }

    public Integer getStoppedNum() {
        return stoppedNum;
    }

    public void setStoppedNum(Integer stoppedNum) {
        this.stoppedNum = stoppedNum;
    }

    public Integer getStoppingNum() {
        return stoppingNum;
    }

    public void setStoppingNum(Integer stoppingNum) {
        this.stoppingNum = stoppingNum;
    }

    public Integer getFailedNum() {
        return failedNum;
    }

    public void setFailedNum(Integer failedNum) {
        this.failedNum = failedNum;
    }

    public Integer getSucceededNum() {
        return succeededNum;
    }

    public void setSucceededNum(Integer succeededNum) {
        this.succeededNum = succeededNum;
    }

    @Override
    public String toString() {
        return "ProjectJobStatisticsDto{" +
                "waitingNum=" + waitingNum +
                ", runningNum=" + runningNum +
                ", stoppedNum=" + stoppedNum +
                ", stoppingNum=" + stoppingNum +
                ", failedNum=" + failedNum +
                ", succeededNum=" + succeededNum +
                '}';
    }
}